package com.learn.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 通过@EnableScheduling注解开启对计划任务的支持
 * Created by xuxiaobao on 2017/8/1.
 */
@Configuration
@ComponentScan("com.learn.taskscheduler")
@EnableScheduling//(1)
public class TaskSchedulerConfig {

}
